package nc.ui.gl.offset.action;

import java.awt.event.ActionEvent;

import nc.ui.gl.offset.ace.view.OffsetBillForm;
import nc.ui.uif2.tangramlayout.TangramLayout;

public class AddAction extends nc.ui.pubapp.uif2app.actions.AddAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private OffsetBillForm editor;

	@Override
	public void doAction(ActionEvent e) throws Exception {
		editor.show(OffsetBillForm.CARD, null);
		super.doAction(e);
	}

	public OffsetBillForm getEditor() {
		return editor;
	}

	public void setEditor(OffsetBillForm editor) {
		this.editor = editor;
	}
}
